home *** CD-ROM | disk | FTP | other *** search
/ Experimental BBS Explossion 3 / Experimental BBS Explossion III.iso / msdos / mxmenu.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1993-01-26  |  3KB  |  118 lines

  1. Echo OFF
  2. Cls
  3. Echo *======[[ Computer Tyme Software Installation ]]========*
  4. Echo .
  5. Echo If you are installing MarxMenu ......
  6. Echo .
  7. Echo This program will unpack the compressed files and compile
  8. Echo the menus. Then MarxMenu will create the MARX.BAT file for
  9. Echo your system.
  10. Echo .
  11. Echo *===============[[ I M P O R T A N T ! ]]===============*
  12. Echo .
  13. Echo You should be running this on your hard disk or network
  14. Echo If you're not, copy the files onto your hard disk or network
  15. Echo and run INSTALL from there.
  16. Echo .
  17. Echo Be sure to copy ALL the disks that came with your software
  18. Echo your hard disk or network before running INSTALL.
  19. Echo .
  20. Echo *===============[[ I M P O R T A N T ! ]]===============*
  21. Echo .
  22. Echo If you are running this on a floppy disk, press CTRL-C now!
  23. Echo .
  24. Pause
  25. Cls
  26.  
  27. rem *--- Here we test to see if anyone on the network has MarxMenu
  28. rem *--- in use. If it's in use then we can't delete the overlay.
  29.  
  30. if exist NSK.EXE goto nettest
  31. if exist NSKEVAL.EXE goto nettest
  32. goto start
  33.  
  34. :nettest
  35. if not exist MARXMENU.OVR goto start
  36. del MARXMENU.OVR
  37. if exist MARXMENU.OVR goto locked
  38.  
  39. :start
  40. if not exist NSK.EXE goto skip
  41. Echo Unpacking Network Survival Kit . . .
  42. NSK -o
  43. if ErrorLevel 1 goto Err
  44. DEL NSK.EXE
  45.  
  46. :skip
  47. if not exist NSKEVAL.EXE goto skip1
  48. Echo Unpacking Network Survival Kit Evaluation . . .
  49. NSKEVAL -o
  50. if ErrorLevel 1 goto Err
  51. DEL NSKEVAL.EXE
  52.  
  53. :skip1
  54. if not exist SMARX.EXE goto skip3
  55. Echo UnPacking MarxMenu Files . . .
  56. SMarx -o
  57. if ErrorLevel 1 goto Err
  58. DEL SMARX.EXE
  59.  
  60. :skip3
  61. if not exist DISK2.EXE goto skip4
  62. Echo Unpacking MarxEdit and TSR Utilities . . .
  63. Disk2 -o
  64. if ErrorLevel 1 goto Err
  65. DEL DISK2.EXE
  66.  
  67. :skip4
  68. if not exist TOOLBOX.EXE goto skip5
  69. Echo Unpacking Dos ToolBox . . .
  70. ToolBox -o
  71. if ErrorLevel 1 goto Err
  72. DEL TOOLBOX.EXE
  73.  
  74. :skip5
  75. if not exist DOCS.EXE goto skip6
  76. Echo Unpacking Documentation . . .
  77. Docs -o
  78. if ErrorLevel 1 goto Err
  79. DEL DOCS.EXE
  80.  
  81. :skip6
  82. if not exist INST.MNU goto skip7
  83. Echo Compiling Menus . . .
  84. for %%m in (*.mnu) do MarxComp %%m
  85. if exist MXPRN.EXE MxPrn
  86. Cls
  87. Echo Loading Installation Menu . . .
  88. MARXMENU INST
  89.  
  90. :skip7
  91. if exist PIPEDIR.EXE copy PIPEDIR.EXE WHEREIS.EXE >nul
  92. if exist RAMMAP.EXE copy RAMMAP.EXE INMEM.EXE >nul
  93. cls
  94. echo All Done!
  95. goto end
  96.  
  97. :Locked
  98. cls
  99. echo MARXMENU.OVR was found and could not be deleted! This is commonly
  100. echo caused by trying to install MarxMenu on a network while users are
  101. echo still using MarxMenu. You will need to chase everyone out of the
  102. echo menu to complete the upgrade!
  103. goto end
  104.  
  105. :Err
  106. echo.
  107. echo An error occurred while installing the software!
  108. echo.
  109. echo The most common error is trying to run INSTALL from a floppy
  110. echo disk drive. The correct procedure is to copy all the enclosed
  111. echo disks onto your hard disk or network and then run install.
  112. echo.
  113. echo If you still have a problem call Computer Tyme tech support
  114. echo at 1-417-866-1222.
  115. echo.
  116.  
  117. :end
  118.